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

Side by Side Diff: chrome/browser/diagnostics/diagnostics_model.h

Issue 16703005: Use a direct include of strings headers in chrome/browser/d*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ 5 #ifndef CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_
6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ 6 #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_
7 7
8 #include "base/string16.h" 8 #include "base/strings/string16.h"
9 9
10 class CommandLine; 10 class CommandLine;
11 11
12 // The chrome diagnostics system is a model-view-controller system. The Model 12 // The chrome diagnostics system is a model-view-controller system. The Model
13 // responsible for holding and running the individual tests and providing a 13 // responsible for holding and running the individual tests and providing a
14 // uniform interface for querying the outcome. 14 // uniform interface for querying the outcome.
15 // TODO(cpu): The view and the controller are not yet built. 15 // TODO(cpu): The view and the controller are not yet built.
16 class DiagnosticsModel { 16 class DiagnosticsModel {
17 public: 17 public:
18 // A particular test can be in one of the following states. 18 // A particular test can be in one of the following states.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // returned object. 68 // returned object.
69 virtual TestInfo& GetTest(size_t id) = 0; 69 virtual TestInfo& GetTest(size_t id) = 0;
70 }; 70 };
71 71
72 // The factory for the model. The main purpose is to hide the creation of 72 // The factory for the model. The main purpose is to hide the creation of
73 // different models for different platforms. 73 // different models for different platforms.
74 DiagnosticsModel* MakeDiagnosticsModel(const CommandLine& cmdline); 74 DiagnosticsModel* MakeDiagnosticsModel(const CommandLine& cmdline);
75 75
76 76
77 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_ 77 #endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_main.cc ('k') | chrome/browser/diagnostics/diagnostics_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698