[cleanup] Remove StoryProvider.RunningStories().

It's not used anywhere.

TEST=none

Change-Id: Ifcfdacdbcca9082b29fc5075459fbbc045c1d6a7
diff --git a/bin/sessionmgr/story_runner/story_provider_impl.cc b/bin/sessionmgr/story_runner/story_provider_impl.cc
index 0e68aa4..e383613 100644
--- a/bin/sessionmgr/story_runner/story_provider_impl.cc
+++ b/bin/sessionmgr/story_runner/story_provider_impl.cc
@@ -48,8 +48,7 @@
  public:
   using StoryRuntimesMap = std::map<std::string, struct StoryRuntimeContainer>;
 
-  StopStoryCall(fidl::StringPtr story_id,
-                const bool bulk,
+  StopStoryCall(fidl::StringPtr story_id, const bool bulk,
                 StoryRuntimesMap* const story_runtime_containers,
                 MessageQueueManager* const message_queue_manager,
                 ResultCall result_call)
@@ -194,7 +193,8 @@
       // OperationQueue on which we're running will block.  Moving over to
       // fit::promise will allow us to observe cancellation.
       operations_.Add(new StopStoryCall(
-          it.first, true /* bulk */, &story_provider_impl_->story_runtime_containers_,
+          it.first, true /* bulk */,
+          &story_provider_impl_->story_runtime_containers_,
           story_provider_impl_->component_context_info_.message_queue_manager,
           [flow] {}));
     }
@@ -469,7 +469,8 @@
 }
 
 void StoryProviderImpl::AttachView(
-    fidl::StringPtr story_id, fuchsia::ui::viewsv1token::ViewOwnerPtr view_owner) {
+    fidl::StringPtr story_id,
+    fuchsia::ui::viewsv1token::ViewOwnerPtr view_owner) {
   FXL_CHECK(session_shell_);
   fuchsia::modular::ViewIdentifier view_id;
   view_id.story_id = std::move(story_id);
@@ -575,22 +576,6 @@
       "StoryProviderImpl::PreviousStories", on_run, done, callback));
 }
 
-// |fuchsia::modular::StoryProvider|
-void StoryProviderImpl::RunningStories(RunningStoriesCallback callback) {
-  auto on_run = Future<>::Create("StoryProviderImpl.RunningStories.on_run");
-  auto done = on_run->Map([this]() {
-    auto stories = fidl::VectorPtr<fidl::StringPtr>::New(0);
-    for (const auto& impl_container : story_runtime_containers_) {
-      if (impl_container.second.controller_impl->IsRunning()) {
-        stories.push_back(impl_container.second.controller_impl->GetStoryId());
-      }
-    }
-    return stories;
-  });
-  operation_queue_.Add(WrapFutureAsOperation(
-      "StoryProviderImpl::RunningStories", on_run, done, callback));
-}
-
 void StoryProviderImpl::OnStoryStorageUpdated(
     fidl::StringPtr story_id,
     fuchsia::modular::internal::StoryData story_data) {
diff --git a/bin/sessionmgr/story_runner/story_provider_impl.h b/bin/sessionmgr/story_runner/story_provider_impl.h
index f6cdb10..d678770 100644
--- a/bin/sessionmgr/story_runner/story_provider_impl.h
+++ b/bin/sessionmgr/story_runner/story_provider_impl.h
@@ -205,9 +205,6 @@
   void PreviousStories(PreviousStoriesCallback callback) override;
 
   // |fuchsia::modular::StoryProvider|
-  void RunningStories(RunningStoriesCallback callback) override;
-
-  // |fuchsia::modular::StoryProvider|
   void Watch(fidl::InterfaceHandle<fuchsia::modular::StoryProviderWatcher>
                  watcher) override;
 
diff --git a/lib/testing/story_provider_mock.h b/lib/testing/story_provider_mock.h
index eda98f7..a49da74 100644
--- a/lib/testing/story_provider_mock.h
+++ b/lib/testing/story_provider_mock.h
@@ -84,11 +84,6 @@
     callback(fidl::VectorPtr<fuchsia::modular::StoryInfo>::New(0));
   }
 
-  // |fuchsia::modular::StoryProvider|
-  void RunningStories(RunningStoriesCallback callback) override {
-    callback(fidl::VectorPtr<fidl::StringPtr>::New(0));
-  }
-
   std::string last_created_story_;
   std::string last_created_kind_of_proto_story_;
   std::string deleted_story_;
diff --git a/public/fidl/fuchsia.modular/story/story_provider.fidl b/public/fidl/fuchsia.modular/story/story_provider.fidl
index 33f979a..eeecfa1 100644
--- a/public/fidl/fuchsia.modular/story/story_provider.fidl
+++ b/public/fidl/fuchsia.modular/story/story_provider.fidl
@@ -30,12 +30,6 @@
     // DEPRECATED: In favor of GetStories().
     7: PreviousStories() -> (vector<StoryInfo> story_infos);
 
-    // Returns IDs of stories on the current device that are not STOPPED. More
-    // information about the stories can be retrieved using GetStoryInfo(), or by
-    // GetController(), then StoryController.GetInfo().
-    // DEPRECATED: Use GetStories() and examine StoryInfo for running state.
-    8: RunningStories() -> (vector<string> story_ids);
-
     // Registers a watcher for changes in the story collection.
     // DEPRECATED: In favor of GetStories().
     9: Watch(StoryProviderWatcher watcher);