summaryrefslogtreecommitdiffstats
path: root/ios/chrome/app/safe_mode_util.h
blob: d4e25fd52ac7f7d5955ef859e75c9b19c2ebd545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_APP_SAFE_MODE_UTIL_H_
#define IOS_CHROME_APP_SAFE_MODE_UTIL_H_

#include <string>
#include <vector>

namespace safe_mode_util {

// Returns a list of the paths of all images (e.g., dynamic libraries)
// currently loaded.
// If |path_filter| is non-NULL, only paths starting with |path_filter| will be
// returned.
std::vector<std::string> GetLoadedImages(const char* path_filter);

}  // namespace safe_mode_util

#endif  // IOS_CHROME_APP_SAFE_MODE_UTIL_H_